<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.w3.org/1999/xhtml">

<head>
    <th:block th:include="common/common_head :: commonHeader('邮箱')"/>
    <link rel="stylesheet" th:href="@{/static/js/plugins/jquery-layout/jquery.layout-latest.css}">
	<!-- <style type="text/css">.table {table-layout:fixed;}</style> -->
</head>

<body class="gray-bg">

<div class="container-div ui-layout-center">
    <div class="row">
       <div class="select-list">
           <ul>
               <li class="col-sm-3" style="width: 33%">
                     <label>报价单号：</label>
                     <input id="parityEmailInquiryCode" name="parityEmailInquiryCode" />
               </li>
               <li class="col-sm-3" style="width: 33%">
                     <button type="button" onclick="displayDate()">返回</button>
                     <button id="parityEmailSearchBtn" type="button" class="btn btn-primary btn-rounded btn-sm"><i class="fa fa-search"></i>&nbsp;搜索</button>
                     <button class="btn btn-warning btn-rounded btn-sm" type="reset"><i class="fa fa-eraser"></i>&nbsp;重置</button>
                     <button id="parityEmailSearch" type="button" class="btn btn-primary btn-rounded btn-sm" style="display: none"><i class="fa fa-caret-down"></i>&nbsp;高级搜索</button>
               </li>
             </ul>
        </div>
        <div class="col-sm-12 select-info order-table">
            <!-- <div>
            	<table id="parityEmail" data-mobile-responsive="true"></table>
            </div> -->
            <div class="table-responsive">
						<table class="table table-bordered text-nowrap">
						      <thead>
								<tr>
								    <th>报价单号</th>
								    <th>邮箱</th>
								    <th>时间</th>
								</tr>
							</thead>
							<tbody>
							 <tr th:each="parityEmail : ${parityEmaillist}">
							 <td style="display:none"><input name="parityEmailId" type="hidden" th:value="${parityEmail.parityEmailId}" /></td>
						     <td width='110px'><input style='width:95%' type='text' name='parityEmailInquiryCode' th:value="${parityEmail.parityEmailInquiryCode}"/></td>
						     <td width='110px'><input style='width:95%' type='text' name='parityEmail' th:value="${parityEmail.parityEmail}"/></td>
						     <td width='110px'><input style='width:95%' type='text' name='data' th:value="${parityEmail.data}"/></td>
							 </tr>
							</tbody>
						</table>
			</div>
        </div>
    </div>

</div>
<!--引入公共js-->
<div th:include="common/onload_js :: onloadJS"></div>
<script type="text/javascript" th:src="@{/static/js/plugins/jquery-layout/jquery.layout-latest.js}"></script>

<!-- Page-Level Scripts -->

<!--  -->
<script type="text/javascript">
	/*var itemBS = Searcher.createBS('#parityEmail',
	        [
	            {checkbox: true},
	            {title: "报价单号",field:"parityEmailInquiryCode"},
	            {title: "邮箱",field:"parityEmail"},
	            {title: "时间", field:"data"},
	        ],{pageList: [5, 10, 15, 50, 100], pageSize : 15}
	);
	//刷新数据
    function refresh() {
    	searcherBS.refresh();
    }*/
    
    function displayDate() {
    	var index=Dialog.openUrl("", ctxPath + '/modules/pricemanagement/offer/offer_list.html',
    	   {area : ['900px','700px'],
            maxmin: true,
            end: function() {}
         });
        layer.full(index);
    }
</script>
</body>